package org.example.controller.dto;

import lombok.Data;

import java.util.List;

@Data
public class CreatePlatformRoleRequest {

    private String roleName;

    private String description;

    // 可传 displayId(101~107) 或 真实权限ID
    private List<Long> permissionIds;
    
    // 新增：直接传权限code，如 ["list:view", "settlement:export"]
    private List<String> permissionCodes;
}


